﻿<%@ Page Title="" Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="ClientSheetView.aspx.cs" Inherits="WEB.Client.ClientSheetView1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style>
        .hidden
        {
            display: none;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    委托单查询
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <table style="width: 100%;">
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td style="text-align: center">
                <asp:DropDownList ID="ddlQuery1" runat="server" Style="text-align: right" Width="101px">
                    <asp:ListItem Value="sheetID">委托单单号</asp:ListItem>
                    <asp:ListItem Value="customsNo">报关单号</asp:ListItem>
                    <asp:ListItem Value="inspectionNo">报检号</asp:ListItem>
                    <asp:ListItem Value="ladingBillNO">提单号</asp:ListItem>
                    <asp:ListItem Value="goodsName">货物名称</asp:ListItem>
                    <asp:ListItem Value="UserName">处理员姓名</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="tbQuery1" runat="server" Width="233px"></asp:TextBox>
                <asp:Button ID="btnQuery1" runat="server" Text="   查  询" OnClick="btnQuery1_Click"
                    CssClass="Submit_Query" />
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:GridView ID="gvSheetInfo1" runat="server" CellPadding="2" CssClass="distance"
                    AllowPaging="True" DataKeyNames="sheetID" ForeColor="Black" GridLines="Vertical"
                    OnRowEditing="gvSheetInfo1_RowEditing" Style="text-align: center" AutoGenerateColumns="False"
                    OnRowCommand="gvSheetInfo1_RowCommand" BackColor="White" BorderColor="#DEDFDE"
                    BorderStyle="None" BorderWidth="1px" OnPageIndexChanging="gvSheetInfo1_PageIndexChanging"
                    PageSize="20" OnRowDataBound="gvSheetInfo1_RowDataBound" Width="1200px">
                    <PagerSettings FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PreviousPageText="上一页" />
                    <AlternatingRowStyle BackColor="White" />
                    <Columns>
                        <asp:BoundField DataField="sheetID" HeaderText="委托单号" />
                        <asp:BoundField DataField="typeID" HeaderText="业务类别" />
                        <asp:BoundField DataField="inOut" HeaderText="进出口" />
                        <asp:BoundField DataField="codeName" HeaderText="货物类型" />
                        <asp:BoundField DataField="agencyDate" HeaderText="委托日期" />
                        <asp:BoundField DataField="shipName" HeaderText="船名" />
                        <asp:BoundField DataField="No" HeaderText="数量" />
                        <asp:BoundField DataField="ladingBillNo" HeaderText="提单号" />
                        <asp:BoundField DataField="goodsName" HeaderText="货物名称" />
                        <asp:BoundField DataField="jobName" HeaderText="岗位名称" />
                        <asp:BoundField DataField="UserName" HeaderText="处理员姓名" />
                        <asp:BoundField DataField="busName" HeaderText="当前环节" />
                        <asp:TemplateField HeaderText="处理及时度">
                            <ItemTemplate>
                                <asp:Image Width="32px" Height="32px" ID="ImgIntime" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:ButtonField ButtonType="Button" CommandName="sheetID" Text="查看委托单">
                            <ControlStyle CssClass="Submit_gvbig" />
                        </asp:ButtonField>
                        <asp:ButtonField ButtonType="Button" CommandName="Score" Text="评价">
                            <ControlStyle CssClass="Submit_gvbig" />
                        </asp:ButtonField>
                        <asp:ButtonField ButtonType="Button" CommandName="Handle" Text="查看答复">
                            <ControlStyle CssClass="Submit_gvbig" />
                        </asp:ButtonField>
                    </Columns>
                    <FooterStyle BackColor="#CCCC99" />
                    <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                    <RowStyle BackColor="#F7F7DE" />
                    <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                    <SortedAscendingCellStyle BackColor="#FBFBF2" />
                    <SortedAscendingHeaderStyle BackColor="#848384" />
                    <SortedDescendingCellStyle BackColor="#EAEAD3" />
                    <SortedDescendingHeaderStyle BackColor="#575357" />
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
